package com.xtaller.easy.admin.specification;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.validation.constraints.*;

/**
 * Created by Taller on 2018/4/14
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value ="创建字典")
public class DictCreate {
    @ApiModelProperty(value = "模块Id")
    private String moduleId;
    @ApiModelProperty(value = "父级Id")
    private String parentId;
    @ApiModelProperty(value = "字典名称")
    private String name;
    @ApiModelProperty(value = "字典编码")
    private String code;

    @ApiModelProperty(value = "排序")
    private Integer sort;


    public String getModuleId() {
        return moduleId;
    }

    public void setModuleId(String moduleId) {
        this.moduleId = moduleId;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
}
